/*:root {
  --primary-green: #0046A0;
  --primary-green-light: #3399FF;
  --primary-green-dark: #1b5e20;
  --dark-bg: #1e1e2f;
  --dark-bg-light: #2a2a3a;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --text-white: #f8fafc;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
}*/

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-family: 'Arial', sans-serif;
  overflow-y: auto;
}

/* Fixed background section */
.fixed-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url('/adbomaritime/image/fpo21.png');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.fixed-content {
  position: absolute;
  top: 15%;
  left: 10%;
  max-width: 500px;
  color: var(--text-white);
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 1s ease-out, opacity 1.5s ease;
    text-align: justify;
}

.fixed-content.visible {
  transform: translateX(0);
  opacity: 1;
}

.fixed-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.8s ease 0.3s, opacity 0.8s ease 0.3s;
}

.fixed-content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.8s ease 0.5s, opacity 0.8s ease 0.5s;
}

.fixed-content .hashtag {
  color: var(--success);
  font-weight: bold;
  margin-bottom: 1.5rem;
  display: block;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.8s ease 0.7s, opacity 0.8s ease 0.7s;
}

.fixed-content .explore-link {
  color: var(--text-white);
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid var(--success);
  padding-bottom: 5px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.8s ease 0.9s, opacity 0.8s ease 0.9s;
}

.fixed-content.visible h1,
.fixed-content.visible p,
.fixed-content.visible .hashtag,
.fixed-content.visible .explore-link {
  transform: translateY(0);
  opacity: 1;
}

/* Scroll content section */
.scroll-content {
  position: relative;
  margin-top: 100vh;
  background: var(--card-bg);
  z-index: 1;
}

/* First scroll section */
.first-scroll-section {
  min-height: auto;
  height: auto;
  padding: 4rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('/adbomaritime/image/nature.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.first-scroll-content {
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--text-white);
  padding: 3rem;
  max-width: 800px;
  border-radius: 10px;
  text-align: center;
}

.first-scroll-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.first-scroll-content p {
  margin-bottom: 2rem;
  line-height: 1.6;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.nav-links a {
  color: var(--text-white);
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border: 2px solid var(--text-white);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background-color: var(--text-white);
  color: var(--text-dark);
}

/* Other sections styling */
.newsletter-section,
.partners-section,
.testimonies-section {
  padding: 4rem 2rem;
  background: var(--card-bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Newsletter styles */
.newsletter-header {
  text-align: center;
  margin-bottom: 3rem;
}

.newsletter-header h1 {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.newsletter-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.newsletter-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.newsletter-card:hover {
  transform: translateY(-5px);
}

.card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.card-content {
  padding: 1.5rem;
  background: var(--card-bg);
}

.card-content h3 {
  margin-bottom: 0.8rem;
  color: var(--text-dark);
}

.card-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.read-more {
  color: var(--success);
  text-decoration: none;
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .fixed-content {
    left: 5%;
    right: 5%;
    max-width: 90%;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .first-scroll-content {
    padding: 2rem 1rem;
  }


.fixed-content {
  position: absolute;
  top: 15%;
  left: 10%;
  max-width: 500px;
  color: var(--text-white);
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 1s ease-out, opacity 1.5s ease;

}
.fixed-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.8s ease 0.3s, opacity 0.8s ease 0.3s;
}

.fixed-content p {
  margin-bottom: 1.2rem;
  line-height: 1;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.8s ease 0.5s, opacity 0.8s ease 0.5s;
}

.fixed-content .hashtag {
  color: var(--success);
  font-weight: bold;
  margin-bottom: 1.6rem;
  display: block;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.8s ease 0.7s, opacity 0.8s ease 0.7s;
}





}


/* Responsive adjustments */
@media (max-width: 600px) {

.fixed-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.8s ease 0.3s, opacity 0.8s ease 0.3s;
}

.fixed-content p {
  margin-bottom: 1.5rem;
  line-height: 1;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.8s ease 0.5s, opacity 0.8s ease 0.5s;
}

.fixed-content .hashtag {
  color: var(--success);
  font-weight: bold;
  margin-bottom: 1.6rem;
  display: block;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.8s ease 0.7s, opacity 0.8s ease 0.7s;
}





}


/* Image preview */
.image-preview img {
  max-height: 220px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

/* Animation states */
.animate-ready {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-in {
  opacity: 1;
  transform: translateY(0);
}
